﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace HongYeSystemWebApi.Templet.Entity.Request
{
    public class PageRequest 
    {
        /// <summary>
        /// 分页页码
        /// </summary>
       // [Range(1, 99999999, ErrorMessage = "分页页码不能小于1")]
        public int PageNumber { get; set; }

        /// <summary>
        /// 分页数据条数
        /// </summary>
       // [Range(1, 200, ErrorMessage = "每页1-200条数据")]
        public int PageSize { get; set; }

        public bool Delete { get; set; } = false;
    }
}
